FROM mysql:5.7
MAINTAINER jack "195827613@qq.com"

ENV TZ "Asia/Shanghai"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#添加初始化sql
ADD init.sql /docker-entrypoint-initdb.d/